/*
 * Copyright (c) 2015 elion. All Rights Reserved.
 */
package com.guoyu.project.model;


import com.guoyu.project.model.enums.ManagerLevel;

import java.util.Date;

/**
 * Manager 管理员
 *
 * @author: xblibo Sun Jun 07 17:40:03 CST 2015
 * @version 1.0
 */
public class Manager extends BaseModel {

    /**
     * 管理员名称
     */
    private String name;

    /**
     * 密码
     */
    private String password;

    /**
     * 级别
     */
    private ManagerLevel level;

    // 密码修改时间
    private Date pwdTime;

    // 用户登陆次数
    private int loginNum;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public void setLevel(ManagerLevel level) {
        this.level = level;
    }

    public ManagerLevel getLevel() {
        return level;
    }

    public Date getPwdTime() {
        return pwdTime;
    }

    public void setPwdTime(Date pwdTime) {
        this.pwdTime = pwdTime;
    }

    public int getLoginNum() {
        return loginNum;
    }

    public void setLoginNum(int loginNum) {
        this.loginNum = loginNum;
    }
}
